package iqq.entity;

/**
 * QQ好友实体类
 * 
 * @author chenzhihui
 * @email chengnuo128@gmail.com
 */
import iqq.bean.State.BuddyState;

import javax.swing.Icon;

public class Contact {
	/**
	 * 通信id，默认QQ不显示，每次登录将会改变
	 */
	private long uin;
	
	/**
	 * QQ号码
	 */
	private long qq;
	
	/**
	 * 昵称
	 */
    private String nickname;
    
    /**
	 * 备注 
	 */
    private String markname;
    
    /**
	 * 个性签名
	 */
    private String lnick;
    
    /**
	 * 等级
	 */
    private String level;
    
    /**
	 * 性别
	 */
    private String gender;
    
    /**
	 * 电话
	 */
    private String phone;
    
    /**
	 * 手机
	 */
    private String mobile;
    
    /**
	 * 邮箱
	 */
    private String email;
    
    /**
	 * 毕业院校
	 */
    private String college;
    
    /**
	 * 个人主页
	 */
    private String homepage;
    
    /**
	 * 国家
	 */
    private String country;
    
    /**
	 * 省
	 */
    private String province;
    
    /**
	 * 城市
	 */
    private String city;
    
    /**
	 * 个人说明
	 */
    private String personal;
    
    /**
	 * 职业
	 */
    private String occupation;
    
    /**
	 * 出生日期
	 */
    private long birthday;
    
    /**
	 * VIP信息
	 */
    private int vipInfo;
    
    /**
	 * 註冊時間
	 */
    private int regTime;
    
    /**
	 * 星座
	 */
    private int constel;
    
    /**
	 * 血型
	 */
    private int blood;
    
    /**
	 * 生肖
	 */
    private int chineseZodiac;
    
    /**
	 * 客户类型
	 */
    private int clientType;
    
    /**
	 * IP地址
	 */
    private int ip;
    
    /**
	 * 
	 */
    private int allow;
    
    /**
	 * 头像
	 */
    private Icon face;
    
    /**
	 * 在线状态
	 */
    private BuddyState state;
    
    /**
	 * 类别
	 */
    private Category category;

    //getter && setter
    
	/**
	 * @return the uin
	 */
	public long getUin() {
		return uin;
	}

	/**
	 * @param uin the uin to set
	 */
	public void setUin(long uin) {
		this.uin = uin;
	}

	/**
	 * @return the qq
	 */
	public long getQq() {
		return qq;
	}

	/**
	 * @param qq the qq to set
	 */
	public void setQq(long qq) {
		this.qq = qq;
	}

	/**
	 * @return the nickname
	 */
	public String getNickname() {
		return nickname;
	}

	/**
	 * @param nickname the nickname to set
	 */
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	/**
	 * @return the markname
	 */
	public String getMarkname() {
		return markname;
	}

	/**
	 * @param markname the markname to set
	 */
	public void setMarkname(String markname) {
		this.markname = markname;
	}

	/**
	 * @return the lnick
	 */
	public String getLnick() {
		return lnick;
	}

	/**
	 * @param lnick the lnick to set
	 */
	public void setLnick(String lnick) {
		this.lnick = lnick;
	}

	/**
	 * @return the level
	 */
	public String getLevel() {
		return level;
	}

	/**
	 * @param level the level to set
	 */
	public void setLevel(String level) {
		this.level = level;
	}

	/**
	 * @return the gender
	 */
	public String getGender() {
		return gender;
	}

	/**
	 * @param gender the gender to set
	 */
	public void setGender(String gender) {
		this.gender = gender;
	}

	/**
	 * @return the phone
	 */
	public String getPhone() {
		return phone;
	}

	/**
	 * @param phone the phone to set
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}

	/**
	 * @return the mobile
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * @param mobile the mobile to set
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return the college
	 */
	public String getCollege() {
		return college;
	}

	/**
	 * @param college the college to set
	 */
	public void setCollege(String college) {
		this.college = college;
	}

	/**
	 * @return the homepage
	 */
	public String getHomepage() {
		return homepage;
	}

	/**
	 * @param homepage the homepage to set
	 */
	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}

	/**
	 * @return the country
	 */
	public String getCountry() {
		return country;
	}

	/**
	 * @param country the country to set
	 */
	public void setCountry(String country) {
		this.country = country;
	}

	/**
	 * @return the province
	 */
	public String getProvince() {
		return province;
	}

	/**
	 * @param province the province to set
	 */
	public void setProvince(String province) {
		this.province = province;
	}

	/**
	 * @return the city
	 */
	public String getCity() {
		return city;
	}

	/**
	 * @param city the city to set
	 */
	public void setCity(String city) {
		this.city = city;
	}

	/**
	 * @return the personal
	 */
	public String getPersonal() {
		return personal;
	}

	/**
	 * @param personal the personal to set
	 */
	public void setPersonal(String personal) {
		this.personal = personal;
	}

	/**
	 * @return the occupation
	 */
	public String getOccupation() {
		return occupation;
	}

	/**
	 * @param occupation the occupation to set
	 */
	public void setOccupation(String occupation) {
		this.occupation = occupation;
	}

	/**
	 * @return the birthday
	 */
	public long getBirthday() {
		return birthday;
	}

	/**
	 * @param birthday the birthday to set
	 */
	public void setBirthday(long birthday) {
		this.birthday = birthday;
	}

	/**
	 * @return the vipInfo
	 */
	public int getVipInfo() {
		return vipInfo;
	}

	/**
	 * @param vipInfo the vipInfo to set
	 */
	public void setVipInfo(int vipInfo) {
		this.vipInfo = vipInfo;
	}

	/**
	 * @return the regTime
	 */
	public int getRegTime() {
		return regTime;
	}

	/**
	 * @param regTime the regTime to set
	 */
	public void setRegTime(int regTime) {
		this.regTime = regTime;
	}

	/**
	 * @return the constel
	 */
	public int getConstel() {
		return constel;
	}

	/**
	 * @param constel the constel to set
	 */
	public void setConstel(int constel) {
		this.constel = constel;
	}

	/**
	 * @return the blood
	 */
	public int getBlood() {
		return blood;
	}

	/**
	 * @param blood the blood to set
	 */
	public void setBlood(int blood) {
		this.blood = blood;
	}

	/**
	 * @return the chineseZodiac
	 */
	public int getChineseZodiac() {
		return chineseZodiac;
	}

	/**
	 * @param chineseZodiac the chineseZodiac to set
	 */
	public void setChineseZodiac(int chineseZodiac) {
		this.chineseZodiac = chineseZodiac;
	}

	/**
	 * @return the clientType
	 */
	public int getClientType() {
		return clientType;
	}

	/**
	 * @param clientType the clientType to set
	 */
	public void setClientType(int clientType) {
		this.clientType = clientType;
	}

	/**
	 * @return the ip
	 */
	public int getIp() {
		return ip;
	}

	/**
	 * @param ip the ip to set
	 */
	public void setIp(int ip) {
		this.ip = ip;
	}

	/**
	 * @return the allow
	 */
	public int getAllow() {
		return allow;
	}

	/**
	 * @param allow the allow to set
	 */
	public void setAllow(int allow) {
		this.allow = allow;
	}

	/**
	 * @return the face
	 */
	public Icon getFace() {
		return face;
	}

	/**
	 * @param face the face to set
	 */
	public void setFace(Icon face) {
		this.face = face;
	}

	/**
	 * @return the state
	 */
	public BuddyState getState() {
		return state;
	}

	/**
	 * @param state the state to set
	 */
	public void setState(BuddyState state) {
		this.state = state;
	}

	/**
	 * @return the category
	 */
	public Category getCategory() {
		return category;
	}

	/**
	 * @param category the category to set
	 */
	public void setCategory(Category category) {
		this.category = category;
	}
	
}
